<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="/style/js/jquery.3.2.1.min.js"></script>
    <style>
        /*分页样式*/
        .page{
            width: 100%;
            margin: 0 auto;
            text-align: center;
            position: relative;
        }
        .pagination{
            display: inline-block;
            padding-top: 30px;
        }
        .pagination li{
            float: left;
            border: 1px solid #e5e5e5;
            box-sizing: border-box;
            margin-right: 10px;
            line-height: 28px;
            cursor: pointer;
            list-style: none;
        }
        .pagination li span{
            color: #999;
            font-size: 14px;
            font-weight: 300;
            display: block;
            width: 30px;
            height: 30px;
            text-align: center;
        }
        .pagination li a{
            color: #999;
            font-size: 14px;
            font-weight: 300;
            display: block;
            width: 30px;
            height: 30px;
            text-align: center;
        }
        .pagination li.disabled{
            display: none;
        }
        .pagination li.active{
            background: #A92E39;
            border: 1px solid #A92E39;
        }
        .pagination li.active span{
            color: #fff;
        }
        table{
            width: 1200px;
            margin: 0 auto;
            border: none;
            border-collapse: collapse;
        }
        tr{
            width: 20%;
        }
        td{
            height: 30px;
            line-height: 30px;
            border: 1px solid #e5e5e5;
            font-size: 14px;
            color: #666;
            text-align: center;
        }
    </style>
</head>
<body>
<div style="width:300px;position: absolute;background-color: cyan">
    <div style="position: relative">
        <p style="text-align: center">今日数据:</p>
        今日点击数量:  {$zong}(个)<br/>
        来源:   {$tmp}<br/>
        信息流： {$xinxi}(个)<br/>
        电脑端： {$computor}(个)<br/>
        手机端： {$mob}(个)
        <p style="width:300px;">
            关键词:<span style="position: relative;width:300px;word-break: break-all">{$key}</span>
        </p>
        <hr/>
        <p style="text-align: center">昨日数据:</p>
        <p style="width:300px;">
            关键词:<span style="position: relative;width:300px;word-break: break-all">{$key1}</span>
        </p>
        <hr/>
        <p style="text-align: center">历史数据:</p>
        点击总数量：{$zong1}(个)<br/>
        电脑端总数量： {$com}(个)<br/>
        手机端总数量： {$mob1}(个)<br/>
    </div>
</div>
<div>
    <ul>
        <table border="1">
        <tr>
            <td>序号</td>
            <td>来源</td>
            <td>关键字</td>
            <td>端口</td>
            <td>搜索时间</td>
        </tr>
        {volist name='list' id='vo' key='k'}
        <tr>
            <td>{$k}</td>
            {if condition="$vo.origin"}
                <td>{$vo.origin}</td>
            {else /}
                <td>无</td>
            {/if}
            {if condition="$vo.words"}
                <td>{$vo.words}</td>
            {else /}
                <td>无</td>
            {/if}
            <td>{$vo.sign}</td>
            <td>{$vo.time|showDate}</td>
        </tr>
        {/volist}
        </table>
    </ul>
</div>
<div class="page">{$list|raw}</div>
</body>
</html>